import template from './template.html';
import './style.less';
import {componentProxy} from '@/components/proxy';

componentProxy('ui-radio',{
    props: {
        type: {
            type: String,
            default: 'text'//text,password,number
        },
        value: {
            type: String||Number,
            default: ""
        },
    },
    template,
    methods: {
        clicked() {
            this.$emit('tap');
        },
    }
})